package com.cslc.mp.util;

import org.junit.Ignore;
import org.junit.Test;

/**
 * 测试公众平台常用工具类
 * @author keliangliang
 *
 */
public class WeChatUtilTest {
	
	/**
	 * 测试通过get请求获取accesstoken
	 */
	@Ignore
	public void testCreateAccessToken() {
		long now = System.currentTimeMillis()/1000;
		WeChatUtil.createAccessToken(now);
		
	}
	
	/**
	 * 测试通过get请求获取jsapi_ticket
	 */
	@Ignore
	public void testCreateJsApiTicket() {
		long now = System.currentTimeMillis()/1000;
		WeChatUtil.createJsApiTicket(now);
	}
}
